import SvgIcon from '@/components/SvgIcon' // svg组件

// register globally
export default app => {
  app.component('SvgIcon', SvgIcon)
}

const requireAll = requireContext => requireContext.keys().map(requireContext)
const req = require.context('./svg', false, /\.svg$/)
requireAll(req)
